package com.luoyx.hauyne.admin.sys.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * 字典类型编码 唯一性校验查询条件
 *
 * @author Alan.Luo
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class DictTypeCodeUniqueCheckQuery {

    /**
     * 要排除的字典类型id
     */
    @ApiModelProperty(value = "要排除的字典类型id")
    private Long excludeDictTypeId;

    /**
     * 字典类型编码
     */
    @ApiModelProperty(value = "字典类型编码", required = true)
    @NotBlank(message = "字典类型编码不能为空")
    private String dictTypeCode;
}
